﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using GMS.Interface;

namespace GMS
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void tsmPartList_Click(object sender, EventArgs e)
        {
            frmPartsList frmObjPartList = new frmPartsList();
            frmObjPartList.Show();
        }

        private void toolStripDropDownButton3_Click(object sender, EventArgs e)
        {

        }

        private void tsmPurchasing_Click(object sender, EventArgs e)
        {
            frmPurchase_Order newform = new frmPurchase_Order();
            newform.MdiParent = this;
            newform.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            newform.Show();
        }

        private void tsmReceivingParts_Click(object sender, EventArgs e)
        {
            frmReceivingParts newform = new frmReceivingParts();
            newform.MdiParent = this;
            newform.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            newform.Show();
        }

        private void carMakerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCarMaker newform = new frmCarMaker();
            newform.MdiParent = this;
            newform.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            newform.Show();
        }
    }
}
